import 'dart:ui';

import 'package:fish_redux/fish_redux.dart';
import 'package:www.znpigai.teacher/global_store/state.dart';

import 'item/state.dart';

class ClassListState implements GlobalBaseState, Cloneable<ClassListState> {
  List<ClassState> items = <ClassState>[];
  bool isLoading = false; // 是否正在请求数据中

  ClassListState();

  @override
  ClassListState clone() {
    return ClassListState()
      ..items = items
      ..isLoading = isLoading;
  }

  @override
  Color themeColor;

  @override
  Map<String, dynamic> userInfo;
}

ClassListState initState(Map<String, dynamic> args) {
  return ClassListState();
}
